<%@page import="carsa.board.BoardService"%>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%
	if(request.getMethod().equals("GET")){
		response.sendRedirect("board_list.jsp");
		return;
	}
	String no=request.getParameter("no");
	if(no==null||no.equals("")){
		response.sendRedirect("board_list.jsp");
		return;
	}
	BoardService.instance().remove(Integer.parseInt(no));
	response.sendRedirect("board_list.jsp");
%>